home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / cli / gulam.arc / DOTG.ARC / LJD.G < prev    next >
Text File  |  1988-05-31  |  2KB  |  95 lines

  1. # GULAM shell    adapted to meet the needs of Lee Dickey
  2. # This file is named "gulam.g" and it is executed each time
  3. # Gulam is started.
  4. msoff
  5. # set some variables ----------------------------------------------------
  6.     set    dir_cache 1
  7.     set    verbosity 0
  8.  
  9. # the prompt
  10.     setenv    STACK "%$STACK"
  11.     set    prompt    'AtariST $cwd $ncmd $STACK'
  12.     set    prompt_tail    ' '
  13.  
  14. # communications
  15.     set    baud_rate    1200
  16.     set    rx_remote_cmd    'public xmodem st'
  17.     set    sx_remote_cmd    'public xmodem rt'
  18.     set    histfile    d:\gu_hist
  19.  
  20. # set some aliases
  21. alias    hi    history
  22. alias    pu    pushd
  23. alias    po    popd
  24.  
  25. alias    rm    rm -i
  26. alias    Rm    rm
  27.  
  28. alias    1st    gem d:\1st_word.prg
  29. alias    uni    uniterm.prg
  30.  
  31. alias    logout    exit
  32. alias    lo    exit    # ' d:\t_clock.g ; exit '
  33. alias    term    ' d:\t_clock.g ; exit '
  34.  
  35. alias    j    echo "No jobs."
  36. alias    x    ue
  37. alias    lc    ls
  38. alias    ll    'ls -ltF'
  39.  
  40. alias    aa    'set aa $cwd '
  41. alias    stash    'cp $1 $2 $3 $4 $5 $6 $7 $8 $9 $10  $aa'
  42.  
  43. alias    free    df a d
  44.  
  45. # copy some files, (if necessary)
  46. # ------------------------------------------------------
  47. set t1 " arc.ttp "
  48. set t1 " $t1 t_clock.g gu.prg gulam.g gulamend.g "
  49. set t1 " $t1 head.prg more14.ttp "
  50. set t1 " $t1 lv.tos uud.ttp uue.ttp "
  51. foreach fn { $t1 $t2 }
  52.     set src a:\$fn
  53.     set tgt d:\$fn
  54.     if { -e $tgt }
  55.          # echo File in place: $tgt
  56.     ef { -e $src }
  57.         echo 'cp  '  " $src"   '    D:'
  58.         cp $src $tgt
  59.     ef
  60.         echo '   ----------------       File not found:' $src
  61.     endif
  62. endfor
  63. # two aliases
  64. set    t    d:\more14.ttp
  65. if { -e $t }
  66.     alias    l    $t
  67.     alias    p    $t
  68. ef
  69.     alias    l    more
  70.     alias    p    more
  71. endif
  72.  
  73. set    t    d:\head.prg
  74. if { -e $t }
  75.     alias    tail    $t -t
  76.     alias    string    $t -s
  77. ef
  78.     alias    tail    more
  79.     alias    string    more
  80. endif
  81.  
  82. set    t    d:\lv.tos
  83. if { -e $t }
  84.     alias    vi    $t
  85. endif
  86. # Touch the clock.
  87. # t_clock.g
  88. set    t    "-"
  89.  
  90. # set for finding commands.-------------------------------------------
  91. # echo rehash
  92. # this line causes an implicit "rehash"
  93. set    path    d:\,a:\
  94. set    PATH    $path
  95.